package main

import "fmt"

type stu struct {
	Name string
	age  int
}

var stu1 = stu{"lizhe", 10}
var stu2 = stu{
	Name: "lizhe",
	age:  20,
}

var stu3 = &stu{"lizhe", 20}
var stu4 = &stu{
	Name: "lizhe",
	age:  20,
}

func main() {
	fmt.Println(stu1)
	fmt.Println(stu2)
	fmt.Println(stu3)
	fmt.Println(stu4)
	fmt.Println(*stu4)

}
